package com.pe1n.yangtaopai.utils;

/**
 * Created by My on 2016/11/21.
 */

public class URLConstant {
    //amount第一行（一张图片区）http://www.yangtaotop.com/appapi/banner/carousels?pos_id=39
    public static final String LIST_URL="http://www.yangtaotop.com/appapi/banner/carousels?pos_id=39";
    //第一行点击进去的第一个
    public static final String LIST_ITEM_ONE_URL="http://www.yangtaotop.com/appapi/special/special_detail?special_id=%d";
    //第一行点击进去的第二个
    // public static final String LIST_ITEM_TWO_URL="http://www.yangtaotop.com/appapi/special/special_detail?&special_id=121";
    //amount第二行（12张图片区）http://www.yangtaotop.com/appapi/banner/carousels?pos_id=79
    public static final String LISTTWO_URL="http://www.yangtaotop.com/appapi/banner/carousels?pos_id=79";
    //点击进去的十二张图片区
    public static final String ListTWO1_REL="http://www.yangtaotop.com/appapi/wind_vane/rank_detail?rank_id=%s";
    public static final String ListTWO2_REL="http://www.yangtaotop.com/appapi/wind_vane/rank_detail?&rank_id=7";
    public static final String ListTWO3_REL="http://www.yangtaotop.com/appapi/wind_vane/rank_detail?&rank_id=8";
    public static final String ListTWO4_REL="http://www.yangtaotop.com/appapi/wind_vane/rank_detail?&rank_id=9";
    public static final String ListTWO5_REL="http://www.yangtaotop.com/appapi/wind_vane/rank_detail?&rank_id=12";
    public static final String ListTWO6_REL="http://www.yangtaotop.com/appapi/wind_vane/rank_detail?&rank_id=13";
    public static final String ListTWO7_REL=" http://www.yangtaotop.com/appapi/wind_vane/rank_detail?&rank_id=15";
    public static final String ListTWO8_REL="http://www.yangtaotop.com/appapi/wind_vane/rank_detail?&rank_id=27";
    public static final String ListTWO9_REL="http://www.yangtaotop.com/appapi/wind_vane/rank_detail?&rank_id=25";
    public static final String ListTWO10_REL="http://www.yangtaotop.com/appapi/wind_vane/rank_detail?&rank_id=25";
    public static final String ListTWO11_REL="http://www.yangtaotop.com/appapi/wind_vane/rank_detail?&rank_id=33";




    //amount第三行（四张图片区）http://www.yangtaotop.com/appapi/banner/carousels?pos_id=82
    public static final String LISTTHREE_URL="http://www.yangtaotop.com/appapi/banner/carousels?pos_id=82";
    //amount第四行行（一堆图片区）http://www.yangtaotop.com/appapi/main/hot_products?p=1&cid=7&num=30
    public static final String LISTFOUR_URL="http://www.yangtaotop.com/appapi/main/hot_products?p=%d&cid=7&num=30";

    public static final String PUBLIC_URL="http://www.yangtaotop.com/appapi/banner/carousels?pos_id=%d";
    //BASE
    public static final String BASE_URL = "http://www.yangtaotop.com/";

    //公用
    //顶部轮播 http://www.yangtaotop.com/appapi/banner/carousels?pos_id=1
    //顶部静态 http://www.yangtaotop.com/appapi/banner/carousels?pos_id=14
    public static final String TITLE_URL = "";

    //分类 http://www.yangtaotop.com/appapi/banner/carousels?pos_id=2

    //优选 http://www.yangtaotop.com/appapi/banner/carousels?pos_id=56
    public static final String PREFERENCE_URL = "";

    //品牌 http://www.yangtaotop.com/appapi/banner/carousels?pos_id=57
    public static final String BRAND_URL = "";

    //推荐 http://www.yangtaotop.com/appapi/banner/carousels?pos_id=4
    public static final String RECOMMEND_URL = "";

    //发现 http://www.yangtaotop.com/appapi/main/specials?pos_id=6&s_type=2
    public static final String FIND_URL = "http://www.yangtaotop.com/appapi/main/specials?pos_id=6&s_type=2";

    //大家都在买
    //http://www.yangtaotop.com/appapi/main/hot_products?p=1&cid=1&num=30
    //http://www.yangtaotop.com/appapi/main/hot_products?p=2&cid=1&num=10(加载后 p + 1)

    public static final String OTHER_URL = "http://www.yangtaotop.com/appapi/main/hot_products?p=%d&cid=%d&num=%d";

    //分类点击
    //http://www.yangtaotop.com/appapi/main/product_list?cid=6&offset=30&page=1
    public static final String TYPE_URL = "http://www.yangtaotop.com/appapi/main/product_list?cid=%d&offset=%d&page=%d";

    //商品详情
    //http://www.yangtaotop.com/appapi/main/product_detail?id=5411&pm=0
    public static final String DETAIL_URL = "http://www.yangtaotop.com/appapi/main/product_detail?id=%d&pm=0";

    //好物点击
    //http://www.yangtaotop.com/appapi/main/shopping_guide?id=173&type=2
    public static final String FIND_GOOS_URL = "http://www.yangtaotop.com/appapi/main/shopping_guide?id=%s&type=2";

    //热门搜索
    //http://www.yangtaotop.com/appapi/common/hot_search
    public static final String  HOT_URL = "http://www.yangtaotop.com/appapi/common/hot_search";

    //搜索
    //http://www.yangtaotop.com/appapi/common/search?keyword=%E5%B7%A7%E5%85%8B%E5%8A%9B&p=1&c=10&search_type=2
    public static final String  SEARCH_URL = "http://www.yangtaotop.com/appapi/common/search?keyword=%s&p=%d&c=10&search_type=2";


    //公告 http://www.yangtaotop.com/appapi/banner/carousels?pos_id=55
    public static final String NEWS_URL = "";
    //左侧菜单
    public static final String LEFT_MENU="http://www.yangtaotop.com/appapi/common/catalogs";
    //当前的版本
    public static final String CURRENT_VERSION="http://oh0vbg8a6.bkt.clouddn.com/versioncheck.json";
    public static final String MY_FAVORABLE="http://www.yangtaotop.com/appapi/mine/discount?ver_coupons=1&offset=10&page=1";
    //购物车的下半部分
    public static final String CAR_BOTTOM="http://www.yangtaotop.com/appapi/Shop_cart/recommend_product_list?p=1&c=60";
}
